package com.ruicar.afs.cloud.manage.api.feign.gateway;

import com.ruicar.afs.cloud.common.core.util.IResponse;
import com.ruicar.afs.cloud.parameter.commom.entity.TsysAddressParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description:
 */
@FeignClient(value = "${com.ruicar.service-names.manage-server}", contextId = "contract-gateway-manage-call")
public interface ContractGateWayManageCall {

    @ApiOperation("地址码翻译")
    @PostMapping(value = "/sysAddressParam/translateAddress")
    IResponse<TsysAddressParam> translateAddress(@RequestParam(value = "code") String code);

}
